package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_supplier
 * remarks --> 
 * columns --> supplierCode,supplierName,phone,accountUid,createTime
 */
@ApiModel(value = "mmd_supplier",description = "")
public class MmdSupplier implements Serializable {
    /**
     * supplierCode
     * 供应商编码
     */
    @ApiModelProperty(value="supplierCode",name="供应商编码")
    private String supplierCode;

    /**
     * supplierName
     * 供应商名称
     */
    @ApiModelProperty(value="supplierName",name="供应商名称")
    private String supplierName;

    /**
     * phone
     * 联系方式
     */
    @ApiModelProperty(value="phone",name="联系方式")
    private String phone;

    /**
     * accountUid
     * 登录账号uid
     */
    @ApiModelProperty(value="accountUid",name="登录账号uid")
    private Long accountUid;

    /**
     * createTime
     * 
     */
    @ApiModelProperty(value="createTime",name="")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode == null ? null : supplierCode.trim();
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Long getAccountUid() {
        return accountUid;
    }

    public void setAccountUid(Long accountUid) {
        this.accountUid = accountUid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", supplierCode=").append(supplierCode);
        sb.append(", supplierName=").append(supplierName);
        sb.append(", phone=").append(phone);
        sb.append(", accountUid=").append(accountUid);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}